# $Id: PKGBUILD 76241 2012-09-15 08:29:07Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Smith Dhumbumroong <zodmaner at gmail dot com>

pkgname=unionfs-fuse
pkgver=0.26
pkgrel=1
pkgdesc="A user space unionfs implementation"
arch=('i686' 'x86_64')
url="http://podgorny.cz/moin/UnionFsFuse"
license=('BSD')
depends=('fuse')
source=(http://podgorny.cz/unionfs-fuse/releases/$pkgname-$pkgver.tar.xz)
md5sums=('689c636484756f6f7a728ef354cbeac2')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" PREFIX=/usr install
  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

